package net.sx.minemodule.mvp.model;

import com.kedll.library.adapter.MultiTypeAdapter;
import com.kedll.library.mvp.BaseItem;
import com.kedll.library.mvp.BaseModel;

import net.sx.minemodule.mvp.item.HistoryMedalItem;

/**
 * add shibo.zheng
 * 19/07/05
 * 历史奖牌记录model，后台数据获取成功放入此类
 */
public class HistoryMedalModel extends BaseModel<HistoryMedalItem> {

    /**
     * medalNum : 12                            //奖牌数量
     * historyTime : 2019-01-01~2019-12-31      //获取时间段
     */

    private int medalNum;
    private String historyTime;

    public String getMedalNum() {
        return String.valueOf(medalNum);
    }

    public void setMedalNum(int medalNum) {
        this.medalNum = medalNum;
    }

    public String getHistoryTime() {
        return historyTime;
    }

    public void setHistoryTime(String historyTime) {
        this.historyTime = historyTime;
    }

    @Override
    public HistoryMedalItem createItem(MultiTypeAdapter adapter) {
        return new HistoryMedalItem(this);
    }
}
